#ifndef JANELACONEXAO_H
#define JANELACONEXAO_H

#include <QWidget>

namespace Ui
{
    class JanelaConexao;
}

class JanelaConexao : public QWidget
{

    Q_OBJECT

public:

    static JanelaConexao* getInstance(QWidget* parent = 0);

public slots:

    void processarNovaConexao();

signals:

    void novoParticipante (QString nome, QString endereco_ip, int porta_conexao);

private:

    Ui::JanelaConexao* ui;
    static JanelaConexao* instance;
    JanelaConexao(QWidget* parent = 0);
};

#endif // JANELACONEXAO_H
